% VEC   Function to vectorize the input array.
%       a_vec = vec(a) performs the operation a_vec = a(:)
%

%   Author: Jussi Salmi, SMARAD CoE, TKK
%   $Date: July 7, 2005$

function a_vec = vec(a)

a_vec = a(:);